package com.aisino.mapper;

import com.aisino.entity.CommonDatasource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CommonDatasourceMapper extends BaseMapper<CommonDatasource> {
    /**
     * insert record to table
     *
     * @param record the record
     * @return insert count
     */
    int insert(CommonDatasource record);

    /**
     * insert record to table selective
     *
     * @param record the record
     * @return insert count
     */
    int insertSelective(CommonDatasource record);

    CommonDatasource selectById(Integer id);
}